<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>视频播放</title>
		<link rel="stylesheet" href="css/site.css" type="text/css"></link>
		<script type="text/javascript" src="js/flowplayer-3.2.8.min.js"></script>

	</head>
	<body>
		<table
			style="height: 93px; text-align: center; margin: auto; width: 100%;">
			<tr>
				<td>
					<jsp:include page="top.jsp" flush="true"></jsp:include>
					<div class="mainHolder">
						<div
							style="text-align: left; width: 900px; font-size: 20px; padding-top: 15px; padding-left: 30px;">
							<div style="float: left">
								当前位置:视频播放
							</div>
							<jsp:include page="searchBar.jsp"></jsp:include>
							<br>
						</div>
						<hr />
						<div style="font-size:20px; text-align:left;margin:auto;padding-left:30px;">
						当前播放：<s:property value="playVideo.getName()" /><br/><br/></div>
						<a
							href="<%=basePath%>UploadImages/<s:property value ="playVideo.getName()" />"
							style="display: block; width: 520px; height: 330px" id="player">
						</a>
						<br />
						<div style="color: red; text-align: center;">
							<s:actionerror />
						</div>
						<br />
						<br />
						<div>
							<a target="blank" class="downbutton"
								href="downloadFile.action?id=<s:property value ="playVideo.getId()" />"></a>
						</div>
						<br/>

						<script type="text/javascript">
	flowplayer("player", "js/flowplayer-3.2.9.swf");
</script>
					</div>
					</div>
				</td>
			</tr>
		</table>

	</body>
</html>
